Use gnulib's dup2 module instead of rolling our own.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 25 Jun 2011 08:40:38 +0000 (01:40 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 25 Jun 2011 08:40:38 +0000 (01:40 -0700)
commit91c9504db4d8194ae4db36989a6d9ff25d6d79dc
tree52f7e653526a3996fc89525c6a583201c351f5b6
parent5bde965a73827083cff9bdc3ee1e3adfcc73fc00
Use gnulib's dup2 module instead of rolling our own.

* Makefile.in (GNULIB_MODULES): Add dup2.
* configure.in: Do not check for dup2; gnulib does that now.
* lib/dup2.c, m4/dup2.m4: New files, from gnulib.
* src/sysdep.c (dup2) [!HAVE_DUP2]: Remove; gnulib now does this.
ChangeLog
Makefile.in
configure.in
lib/dup2.c [new file with mode: 0644]
lib/gnulib.mk
m4/dup2.m4 [new file with mode: 0644]
m4/gl-comp.m4
src/ChangeLog
src/sysdep.c